email me at borlaj@portlandschools.org

Loading
notes previous (10/<10) submit the dump links  
 

Convert Applet to Application

 

Make it a JFrame instead of a JApplet and add the following code (if the class was PaintBrush).

            
    public static void main(String[] args) {
        PaintBrush p = new PaintBrush();
        p.init();
        p.setSize(520,520);
        p.setVisible(true);

    }